local skel = fk.CreateSkill {
  name = "rmt__yiju",
}

local RUtil = require ("packages.aaa_Romantic.utility.rmt_util")

skel:addEffect(fk.Damage, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(skel.name) and RUtil.isLightningDamage(data)
  end,
  on_use = function (self, event, target, player, data)
    player:drawCards(3, skel.name)
  end,
})

Fk:loadTranslationTable{
  ["rmt__yiju"] = "义举",
  [":rmt__yiju"] = "当“闪电”造成伤害后，你可以摸三张牌。",
}

return skel
